package com.zy.springcloud.cloudconsumeruser.dao;

import com.zy.springcloud.cloudconsumeruser.bean.User;
import org.springframework.stereotype.Repository;

/**
 * @Author: zy 690748807@qq.com
 * @Description: TODO
 * @Date: 2024/3/30 15:27
 * @Version: 1.0
 * @name 方法名字：
 */
@Repository
public class UserDao {

    public User getUserDaoById(Integer id) {
        User user = new User();
        user.setId(id);
        user.setUserName("zhang"+id);
        System.out.println("=======user==sucess====");
        return user;

    }
}
